<div class="wide form">

<?php $form = $this->beginWidget('GxActiveForm', array(
	'action' => Yii::app()->createUrl($this->route),
	'method' => 'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model, 'deliveryID'); ?>
		<?php echo $form->textField($model, 'deliveryID'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'description'); ?>
		<?php echo $form->textField($model, 'description', array('maxlength' => 300)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'weight'); ?>
		<?php echo $form->textField($model, 'weight'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'pickup_location'); ?>
		<?php echo $form->textField($model, 'pickup_location', array('maxlength' => 200)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'dropoff_location'); ?>
		<?php echo $form->textField($model, 'dropoff_location', array('maxlength' => 200)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'pickup_time'); ?>
		<?php echo $form->textField($model, 'pickup_time'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'dropoff_time'); ?>
		<?php echo $form->textField($model, 'dropoff_time'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'status'); ?>
		<?php echo $form->textField($model, 'status', array('maxlength' => 40)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'rating'); ?>
		<?php echo $form->textField($model, 'rating'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'cargo_type'); ?>
		<?php echo $form->textField($model, 'cargo_type', array('maxlength' => 100)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'price'); ?>
		<?php echo $form->textField($model, 'price'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'driverID'); ?>
		<?php echo $form->dropDownList($model, 'driverID', GxHtml::listDataEx(Driver::model()->findAllAttributes(null, true)), array('prompt' => Yii::t('app', 'All'))); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'customerID'); ?>
		<?php echo $form->dropDownList($model, 'customerID', GxHtml::listDataEx(Customer::model()->findAllAttributes(null, true)), array('prompt' => Yii::t('app', 'All'))); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'carID'); ?>
		<?php echo $form->dropDownList($model, 'carID', GxHtml::listDataEx(Car::model()->findAllAttributes(null, true)), array('prompt' => Yii::t('app', 'All'))); ?>
	</div>

	<div class="row buttons">
		<?php echo GxHtml::submitButton(Yii::t('app', 'Search')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
